//
//  XSQTools.m
//  BuDeJie
//
//  Created by Sem on 2018/6/28.
//  Copyright © 2018年 SEM. All rights reserved.
//

#import "XSQTools.h"

@implementation XSQTools
+(UIViewController *)getControllerFromStoryBoard:(NSString *)nibName WithIdentifier:(NSString *)identifier{
    UIStoryboard *storyboard=[UIStoryboard storyboardWithName:nibName bundle:nil];
    UIViewController *vc=[storyboard instantiateViewControllerWithIdentifier:identifier];
    return vc;
}

@end
